 <html>
<head>
<title>角色定制</title>
<link href="include/css/default.css" rel="stylesheet" type="text/css">
<link href="include/css/dtree.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="include/js/dtree.js"></script>
</head>

<body>
<script language="javascript">
function click() {
  if (event.button==2) { 
    alert('禁止使用鼠标右键!')
  }
}
document.onmousedown=click
</script> 
<br>
<table width="200" align="center" cellpadding="4" cellspacing="1" class='table03'  >
<tr>
  <td colspan="2" align="center" class='table_title'>定制角色</td>
</tr>
<tr>
  <td class='td_title' align='right'>角色名称</td>
  <td class='td_content' align='left'><input type="password" name="firstpassword" value="" class="input">
  <strong><font color="red">*</font></strong></td>
  </tr> 
<tr>
  <td class='td_title' align='right'>公司名称</td>
  <td class='td_content' align='left'>
    <select name="select">
      <option value="0">------请选择------</option>
    </select>
  <strong><font color="red">*</font></strong></td>
  </tr>
<tr>
  <td class='td_title' align='right'>角色说明</td>
  <td class='td_content' align='left'><p>
    <textarea name="textarea" cols="40" rows="5" class="textarea"></textarea>
    <strong><font color="red">*</font></strong></p>
    </td>
  </tr> 
  <tr>
  <td colspan="4" align="left" class=td_content>
	<input name="button1" type="button" class="button1" value="展开全部" onClick="d.openAll()" >
	<input name="button2" type="button" class="button1" value="收起全部" onClick="d.closeAll()">
<div class="dtree">
<script language="javascript">
d = new dTree('d','images','testForm');
d.add('0','-1','请为该角色分配权限');
d.add('C01000000','0','基础设置');
d.add('S01000100','C01000000','公司管理','javascript:gotoUrl("blockcode=S01000100&blocktype=6");');
d.add('P01000101','S01000100','添加公司信息','javascript:gotoUrl("blockcode=P01000101&blocktype=6");');
d.add('P01000102','S01000100','删除公司信息','javascript:gotoUrl("blockcode=P01000102&blocktype=6");');
d.add('P01000103','S01000100','修改公司信息','javascript:gotoUrl("blockcode=P01000103&blocktype=6");');
d.add('S01000200','C01000000','部门管理','javascript:gotoUrl("blockcode=S01000200&blocktype=6");');
d.add('P01000201','S01000200','添加部门信息','javascript:gotoUrl("blockcode=P01000201&blocktype=6");');
d.add('P01000202','S01000200','删除部门信息','javascript:gotoUrl("blockcode=P01000202&blocktype=6");');
d.add('P01000203','S01000200','修改部门信息','javascript:gotoUrl("blockcode=P01000203&blocktype=6");');
d.add('S01000300','C01000000','职务管理','javascript:gotoUrl("blockcode=S01000300&blocktype=6");');
d.add('P01000301','S01000300','添加职务信息','javascript:gotoUrl("blockcode=P01000301&blocktype=6");');
d.add('P01000302','S01000300','删除职务信息','javascript:gotoUrl("blockcode=P01000302&blocktype=6");');
d.add('P01000303','S01000300','修改职务信息','javascript:gotoUrl("blockcode=P01000303&blocktype=6");');
d.add('S01000400','C01000000','业务规则管理','javascript:gotoUrl("blockcode=S01000400&blocktype=6");');
d.add('P01000401','S01000400','添加业务规则','javascript:gotoUrl("blockcode=P01000401&blocktype=6");');
d.add('P01000402','S01000400','删除业务规则','javascript:gotoUrl("blockcode=P01000402&blocktype=6");');
d.add('P01000403','S01000400','修改业务规则','javascript:gotoUrl("blockcode=P01000403&blocktype=6");');

d.add('C02000000','0','系统管理');
d.add('C02010000','C02000000','角色管理','javascript:gotoUrl("blockcode=C02010000&blocktype=6");');
d.add('S02010100','C02010000','角色定制','javascript:gotoUrl("blockcode=S02010100&blocktype=6");');
d.add('S02010200','C02010000','角色分配','javascript:gotoUrl("blockcode=S02010200&blocktype=6");');
d.add('C02020000','C02000000','流程管理','javascript:gotoUrl("blockcode=C02020000&blocktype=6");');
d.add('S02020100','C02020000','流程定制','javascript:gotoUrl("blockcode=S02020100&blocktype=6");');
d.add('S02000100','C02000000','系统日志管理','javascript:gotoUrl("blockcode=S02000100&blocktype=6");');
d.add('S02000200','C02000000','数据管理','javascript:gotoUrl("blockcode=S02000200&blocktype=6");');

d.add('C03000000','0','公告信息');
d.add('S03000100','C03000000','当前公告','javascript:gotoUrl("blockcode=S03000100&blocktype=6");');
d.add('S03000200','C03000000','发布公告','javascript:gotoUrl("blockcode=S03000200&blocktype=6");');
d.add('S03000300','C03000000','公告阅读查询','javascript:gotoUrl("blockcode=S03000300&blocktype=6");');

d.add('C04000000','0','消息管理');
d.add('S04000100','C04000000','消息列队','javascript:gotoUrl("blockcode=S04000100&blocktype=6");');

d.add('C05000000','0','人事管理');
d.add('S05000100','C05000000','员工管理','javascript:gotoUrl("blockcode=S05000100&blocktype=6");');
d.add('S05000200','C05000000','人事分配','javascript:gotoUrl("blockcode=S05000200&blocktype=6");');
d.add('C05010000','C05000000','加密狗管理','javascript:gotoUrl("blockcode=C05010000&blocktype=6");');
d.add('S05010100','C05010000','加密狗信息','javascript:gotoUrl("blockcode=S05010100&blocktype=6");');
d.add('S05010200','C05010000','领用记录','javascript:gotoUrl("blockcode=S05010200&blocktype=6");');

d.add('C99000000','0','个人设置');
d.add('S99000100','C99000000','个人基本情况','javascript:gotoUrl("blockcode=S99000100&blocktype=6");');
d.add('S99000200','C99000000','修改密码','javascript:gotoUrl("blockcode=S99000200&blocktype=6");');

document.write(d);

</script> 
</div>  
  </td>
  </tr>
<tr>
    <td colspan="4" align="center" class=td_title><input type="submit" value="提交" onClick="return toSure();" class="button1">
 		 &nbsp;
  	<input type="reset" value="取消" class="button1" onClick="history.go(-1);"></center>	</td>
	</tr>
</table>
</body>
</html>
